package com.ruoyi.service.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 健康服务对象 health_service
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public class HealthService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务ID */
    private Long serviceId;

    /** 服务类型 */
    @Excel(name = "服务类型")
    private String serviceType;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String serviceContent;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 服务日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 全名 */
    @Excel(name = "全名")
    private String fullName;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    public void setServiceType(String serviceType) 
    {
        this.serviceType = serviceType;
    }

    public String getServiceType() 
    {
        return serviceType;
    }
    public void setServiceContent(String serviceContent) 
    {
        this.serviceContent = serviceContent;
    }

    public String getServiceContent() 
    {
        return serviceContent;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setFullName(String fullName) 
    {
        this.fullName = fullName;
    }

    public String getFullName() 
    {
        return fullName;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serviceId", getServiceId())
            .append("serviceType", getServiceType())
            .append("serviceContent", getServiceContent())
            .append("age", getAge())
            .append("date", getDate())
            .append("fullName", getFullName())
            .append("gender", getGender())
            .append("userId", getUserId())
            .toString();
    }
}
